<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="./Tpl/css/bootstrap.min.css">

	<style type="text/css">
		.form-inline{
			padding-top: 80px;
		}
		.form-inline .content{
			margin-top: 20px;
			margin-bottom: 20px;
			width: 100%;
		}
	</style>
</head>
<body>
	<nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">留言板</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <form class="navbar-form navbar-right" >
            <div class="form-group">
              <input type="text" placeholder="用户名" class="form-control">
            </div>
            <div class="form-group">
              <input type="password" placeholder="密码" class="form-control">
            </div>
            <button type="submit" class="btn btn-success">登陆</button>
          </form>
        </div><!--/.navbar-collapse -->
      </div>
    </nav>

    <div class="col-md-12">
		<form class="form-inline" method="post" action="./save.php?id=<?php echo $id ?>">

			<div class="col-md-12">
				<div class="form-group">
				    <label for="exampleInputName2">用户名</label>
				    <input type="text" class="form-control" name="username" id="exampleInputName2" value="<?php echo $edit['username'] ?>">
				</div>
				<button type="submit" class="btn btn-success">修改</button>
			</div>
			<div class="col-md-12">
				<textarea class="form-control content" name="content" cols="30" rows="10"><?php echo $edit['content'] ?></textarea>
			</div>

			<!-- <input type="hidden" name="id" value="<?php echo $id ?>"> -->
		
		</form>
    </div>
</body>
</html>